package top.buyibuyi.course.service.admin.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.buyibuyi.course.dao.admin.UpdateAdminDao;
import top.buyibuyi.course.pojo.Admin;
import top.buyibuyi.course.service.admin.UpdateAdminService;

@Service
public class UpdateAdminServiceImpl implements UpdateAdminService {

    @Autowired
    private UpdateAdminDao updateAdminDao;

    @Override
    public Boolean updateAdmin(Admin admin) {
        return updateAdminDao.updateAdmin(admin);
    }
}
